//考勤管理

import http from '@/lib/http'


// 01-B-01-查询发票申请
export function getFapiaoApplicationListApi(params) {
  return http.getRequest(`/fapiao/application/list`, params)
}

// 01-B-02-保存发票申请
export function saveFapiaoApplicationApi(params) {
  return http.postRequest(`/fapiao/application/save`, params)
}

// 01-B-03-关闭发票申请流程
export function closeFapiaoApplicationApi(params) {
  return http.postRequest(`/fapiao/application/close`, params)
}

// 01-B-04-获取发票申请详情
export function getFapiaoApplicationApi(params) {
  return http.getRequest(`/fapiao/application/get`, params)
}

// 01-B-05-提交发票申请
export function submitFapiaoApplicationApi(params) {
  return http.postRequest(`/fapiao/application/submit`, params)
}

// 01-B-06-初审发票申请
export function preauditFapiaoApplicationApi(params) {
  return http.postRequest(`/fapiao/application/preaudit`, params)
}

// 01-B-06-审核发票申请
export function auditFapiaoApplicationApi(params) {
  return http.postRequest(`/fapiao/application/audit`, params)
}

// 01-B-07-批准发票申请
export function approvalFapiaoApplicationApi(params) {
  return http.postRequest(`/fapiao/application/approval`, params)
}

// 01-B-08-创建发票申请
export function createFapiaoApplicationApi(params) {
  return http.getRequest(`/fapiao/application/create`, params)
}
